﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema"), DesignerCategory("code"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class Dot1XConfiguration
    {
        private string anonymousIDField;
        private XmlAttribute[] anyAttrField;
        private string[] cACertificateIDField;
        private string dot1XConfigurationTokenField;
        private TestTool.Proxies.Onvif.EAPMethodConfiguration eAPMethodConfigurationField;
        private int eAPMethodField;
        private Dot1XConfigurationExtension extensionField;
        private string identityField;

        [XmlElement(Order=2)]
        public string AnonymousID
        {
            get
            {
                return this.anonymousIDField;
            }
            set
            {
                this.anonymousIDField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement("CACertificateID", DataType="token", Order=4)]
        public string[] CACertificateID
        {
            get
            {
                return this.cACertificateIDField;
            }
            set
            {
                this.cACertificateIDField = value;
            }
        }

        [XmlElement(Order=0)]
        public string Dot1XConfigurationToken
        {
            get
            {
                return this.dot1XConfigurationTokenField;
            }
            set
            {
                this.dot1XConfigurationTokenField = value;
            }
        }

        [XmlElement(Order=3)]
        public int EAPMethod
        {
            get
            {
                return this.eAPMethodField;
            }
            set
            {
                this.eAPMethodField = value;
            }
        }

        [XmlElement(Order=5)]
        public TestTool.Proxies.Onvif.EAPMethodConfiguration EAPMethodConfiguration
        {
            get
            {
                return this.eAPMethodConfigurationField;
            }
            set
            {
                this.eAPMethodConfigurationField = value;
            }
        }

        [XmlElement(Order=6)]
        public Dot1XConfigurationExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=1)]
        public string Identity
        {
            get
            {
                return this.identityField;
            }
            set
            {
                this.identityField = value;
            }
        }
    }
}

